package com.lianwei.service;

import com.lianwei.pojo.User;
import com.lianwei.pojo.request.UserLoginRequest;
import com.lianwei.pojo.request.UserRegisterRequest;
import com.lianwei.util.JsonData;

import java.util.List;
import java.util.Map;

public interface UserService {
    JsonData login(UserLoginRequest userLoginRequest);
    JsonData register(UserRegisterRequest userRegisterRequest);

    void disable(Integer id);
    void enable(Integer id);
    List<User> queryList();

    List<User> queryListByName(String name);
}
